/**
 * Alipay.com Inc.
 * Copyright (c) 2004-2014 All Rights Reserved.
 */
package com.h2o3.carmack.message;

/**
 * @author chensheng
 * @version $Id: MessageSerializer.java, v 0.1 1/22/14 10:07 PM chensheng Exp $
 */
public interface MessageSerializer {
    String writeMessage(Message message);

    Message readMessage(String data);
}
